part structure in the offsets array. The value should be 1
greater than the index of the widget's superclass.
Constants defined for all XXXXmmmmwidgets can be found in XXXXmmmmPPPP....hhhh.
#define BarIndex (XmBulletinBIndex + 1)
Instead of accessing fields directly, the widget must always
go through the offset table. The XXXXmmmmFFFFiiiieeeelllldddd and
XXXXmmmmCCCCoooonnnnssssttttrrrraaaaiiiinnnnttttFFFFiiiieeeelllldddd macros help you access these fields.
Because the XXXXmmmmPPPPaaaarrrrttttOOOOffffffffsssseeeetttt, XXXXmmmmCCCCoooonnnnssssttttrrrraaaaiiiinnnnttttPPPPaaaarrrrttttOOOOffffffffsssseeeetttt, XXXXmmmmFFFFiiiieeeelllldddd,
and XXXXmmmmCCCCoooonnnnssssttttrrrraaaaiiiinnnnttttFFFFiiiieeeellllddddmacros concatenate things, you must
ensure that there is no space after the part argument. For
example, the following macros do not work because of the
space after the part (Label) argument:
XmField(w, offset, Label, text, char *)
XmPartOffset(Label, text).
Therefore, you must not have any spaces after the part
(Label) argument, as illustrated here:
XmField(w, offset, Label, text, char *)
You can define macros for each field to make this easier.